/* pages/user/index.wxss */
@import "/style/cells.wxss";

page {
    background-color: #fcfaee;
}

view {
    box-sizing: border-box;
}


.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container {
    font-size: 24rpx;
    padding-bottom: 90rpx;
    position: relative;
}

.user_ctr {
    width: 100vw;
    height: auto;
    overflow: hidden;
    /* padding: 0 10rpx; */
    /* padding-top: 10rpx; */

    .user_top {
        width: 100%;
        height: 900rpx;
        position: relative;
        overflow: hidden;
        /* border-radius: 10rpx; */
        margin-bottom: 14rpx;
        /* background-color: #000; */

        .user_top_bg {
            position: absolute;
            width: 100%;
            height: 900rpx;
            left: 0;
            top: 0;
            z-index: 1;

            image {
                width: 100%;
                display: block;
            }
        }

        .user_box {
            position: absolute;
        }

        .user_top_img {
            position: absolute;
            width: 120rpx;
            height: 120rpx;
            border-radius: 50%;
            box-shadow: 0 0 0 6rpx rgba(219, 218, 218, 0.4);
            left: 40rpx;
            top: 72rpx;
            z-index: 9;
        }

        .user_top_t1 {
            position: absolute;
            width: 530rpx;
            overflow: hidden;
            height: 60rpx;
            line-height: 60rpx;
            left: 200rpx;
            top: 80rpx;
            z-index: 9;
            color: #333333;
            font-weight: 540;
            /* color: rgb(99, 98, 98); */
            font-size: 28rpx;
            display: flex;

            .name {
                max-width: 310rpx;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                /* flex: 1;
                width: 0; */
            }

            .phone {
                width: 200rpx;
            }
        }

        .user_top_t2 {
            position: absolute;
            height: 40rpx;
            line-height: 40rpx;
            left: 200rpx;
            top: 139rpx;
            z-index: 9;
            color: #e5caa4;
            font-size: 22rpx;
            padding: 0rpx 15rpx;
            border-radius: 40rpx;
            box-sizing: border-box;
            background: linear-gradient(81deg, #3f3f33 0%, #35322d 100%);
        }

        .shenqing {
            position: absolute;
            z-index: 8;
            right: 40rpx;
            top: 32rpx;
            width: 140rpx;
            height: 48rpx;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 26rpx 26rpx 26rpx 26rpx;
            line-height: 55rpx;
            text-align: center;
            font-size: 24rpx;
            font-family:
                Source Han Sans CN-Medium,
                Source Han Sans CN;
            font-weight: 500;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;

            image {
                width: 24rpx;
                height: 24rpx;
                margin-right: 5rpx;
                /* vertical-align: middle; */
            }
        }
    }
}

.padding_content {
    width: 100%;
    padding: 0 30rpx;
    position: relative;
}

.user_info_box {
    width: 100%;
    height: 900rpx;
    position: relative;

    .user_info_bg {
        width: 100%;
        height: 900rpx;
        position: absolute;
        top: 0;
        lefT: 0;
        z-index: -1;

        .bg {
            width: 100%;
        }
    }

    .login_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30rpx;

        .info_box {
            width: calc(100% - 168rpx);

            .left_pic {
                width: 120rpx;
                height: 120rpx;
                position: relative;

                image {
                    width: 120rpx;
                    height: 120rpx;
                    box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(185, 98, 33, 0.2);
                    border: 4rpx solid #FFFFFF;
                    flex-shrink: 0;
                    border-radius: 50%;
                }

                .tx_btn {
                    width: 110%;
                    height: 110%;
                    border: 4rpx solid #FFFFFF;
                    border-radius: 50%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    opacity: 0;
                }

            }

            .right_info {
                width: calc(100% - 150rpx);
                padding-top: 10rpx;

                .name_box {
                    display: flex;
                    align-items: center;

                    .name {
                        font-weight: 500;
                        font-size: 32rpx;
                        color: #FFFFFF;
                    }

                    .vip_icon {
                        width: 92rpx;
                        height: 32rpx;
                        margin-left: 10rpx;
                        flex-shrink: 0;
                    }

                    .vip_icon_box {
                        flex-shrink: 0;
                        margin-left: 20rpx;
                        height: 32rpx;

                        .p {
                            padding: 0rpx 10rpx;
                            min-width: 50rpx;
                            line-height: 34rpx;
                            background: linear-gradient(146deg, #768AFC 0%, #7510F0 100%);
                            border-radius: 10rpx;
                            border: 1rpx solid #B3B1F9;
                            font-weight: 500;
                            font-size: 20rpx;
                            color: #FFFFFF;
                        }

                        .pp {
                            width: 58rpx;
                            height: 32rpx;
                        }
                    }
                }

                .t {
                    font-weight: 400;
                    font-size: 24rpx;
                    color: #FCFAEE;
                    margin-top: 10rpx;
                }
            }
        }

        .sale_btn {
            width: 148rpx;
            height: 60rpx;
            background: rgba(249, 128, 15, 0.2);
            box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(185, 98, 33, 0.2);
            border-radius: 30rpx;
            border: 2rpx solid #FFFFFF;
            font-weight: 400;
            font-size: 24rpx;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;

            view {
                margin-left: 2rpx;
            }
        }
    }

    .balance_box {
        margin-top: 80rpx;
        justify-content: space-around;

        .item {
            width: calc(100% / 3);
            text-align: center;
            font-weight: 500;
            font-size: 28rpx;
            color: #FFFFFF;

            .t {
                font-weight: 400;
                font-size: 24rpx;
                color: #FBF3CB;
            }
        }
    }

    .vip_box {
        width: 100%;
        height: 104rpx;
        background: rgba(252, 250, 238, 0.8);
        border-radius: 20rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30rpx;
        margin-top: 80rpx;

        .left {
            display: flex;
            align-items: center;

            .icon {
                width: 44rpx;
                height: 44rpx;
                margin-right: 10rpx;
            }

            .t {
                font-family: PingFangSC, PingFang SC;
                font-weight: 400;
                font-size: 24rpx;
                color: #333333;
            }
        }

        .btn {
            width: 120rpx;
            height: 44rpx;
            line-height: 40rpx;
            border-radius: 22rpx;
            border: 2rpx solid #F9800F;
            font-family: PingFangSC, PingFang SC;
            font-weight: 400;
            font-size: 24rpx;
            color: #F9800F;
            text-align: center;
        }
    }

}

.fenxiao_box {
    justify-content: flex-start;

    .item {
        width: 25%;
        text-align: center;
        font-weight: 500;
        font-size: 28rpx;
        color: #333;

        .t {
            font-weight: 400;
            font-size: 24rpx;
            color: #666;
            margin-top: 6rpx;
        }
    }
}

/*白色框*/
.m_ctr {
    width: 690rpx;
    background: #FCFAEE;
    box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(185, 98, 33, 0.2);
    border-radius: 20rpx;
    margin-bottom: 14rpx;
    padding: 10rpx 30rpx 20rpx;

    .user_title {
        width: 100%;
        height: 80rpx;
        line-height: 80rpx;
        padding: 0 10rpx;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .user_title_left {
            font-family: PingFangSC, PingFang SC;
            font-weight: 500;
            font-size: 32rpx;
            color: #333333;
        }

        .user_title_right {
            font-weight: 400;
            font-size: 28rpx;
            color: #999999;
            display: flex;
            align-items: center;
        }
    }

    .m_ctt {
        width: 100%;
        height: auto;
        overflow: hidden;
        padding: 10rpx 0;
        font-size: 24rpx;

        .user_cell1 {
            float: left;
            margin: 10rpx 1%;
            width: 18%;
            height: auto;
            overflow: hidden;
            text-align: center;
            font-size: 24rpx;
            position: relative;
            font-weight: 400;
            font-size: 24rpx;
            color: #666666;

            .icon {
                width: 44rpx;
                height: 44rpx;
                margin-bottom: 4rpx;
            }

            .user_yuan {
                position: absolute;
                width: 30rpx;
                height: 30rpx;
                text-align: center;
                line-height: 30rpx;
                border-radius: 50%;
                color: #fff;
                right: 22rpx;
                top: 0rpx;
                z-index: 10;
                font-size: 22rpx;
                background: #F9800F;
            }
        }

        .user_cell2 {
            width: 25%;
            height: auto;
            overflow: hidden;
            text-align: center;
            font-weight: 400;
            font-size: 24rpx;
            color: #666666;
            position: relative;

            &:not(:nth-of-type(-n+4)) {
                margin-top: 50rpx;
            }

            .image {
                width: 60rpx;
                height: 60rpx;
            }

            .span {
                color: #312c2f;
                font-weight: 550;
                font-size: 28rpx;
            }

            i {
                font-size: 44rpx;
            }
        }
    }
}

.user_top_t2_on {
    background-color: #e5caa4;
    width: 60rpx;
    height: 28rpx;
    color: #3f3f33;
    text-align: center;
    line-height: 30rpx;
    border-radius: 50rpx;
    font-size: 20rpx;
}

.user_top_t3_on {
    color: #e5caa4;
}

.zc {
    width: 100%;
    font-size: 24rpx;
    text-align: center;
    color: #999;
    /* margin-top: 40rpx; */
    position: absolute;
    bottom: 0rpx;
}

.member_day_icon {
    width: 200rpx;
    height: 200rpx;
    position: fixed;
    bottom: 50%;
    margin-bottom: -150rpx;
    right: 20rpx;
}

/*我的分销图*/
.dialog_mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

.image_close {
    width: 40rpx;
    height: 40rpx;
    position: absolute;
    right: 20rpx;
    top: 20rpx;
    z-index: 20;
}

.share_pic_ctr {
    .dialog_mask {
        display: block;
    }

    .share_pic_ctt {
        display: block;
    }

    .image_close {
        right: 85rpx;
        top: 10rpx;
    }
}

.share_pic_ctt {
    position: fixed;
    top: 260rpx;
    width: 100%;
    z-index: 11;
    display: none;
}

.share_pic {
    margin: 0 auto;
    width: 600rpx;
    height: 844rpx;
    background: #fff;
    border-radius: 10rpx;

    image {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 10rpx;
    }
}

.share_btn {
    margin: 0 auto;
    margin-top: 30rpx;
    width: 600rpx;
    height: 80rpx;
    line-height: 80rpx;
    color: #fff;
    text-align: center;
    border-radius: 6rpx;
    font-size: 28rpx;
    margin-top: 40rpx;
}

.logonBox {
    background-image: url("https://lhs.tann.cc/upload/images/scewm.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 740rpx;
    width: 572rpx;
    padding: 0rpx 60rpx 0rpx;
    box-sizing: border-box;
    position: relative;

    .logonTitle {
        font-size: 36rpx;
        font-family:
            Source Han Sans CN-Medium,
            Source Han Sans CN;
        font-weight: 500;
        color: #333333;
        font-family:
            Alibaba PuHuiTi 2,
            Alibaba PuHuiTi 20;
        font-weight: 500;
        font-size: 40rpx;
        color: #3d3d3d;
        line-height: 34rpx;
        margin-top: 80rpx;
    }

    .fTitle {
        font-family:
            Alibaba PuHuiTi 2,
            Alibaba PuHuiTi 20;
        font-weight: 400;
        font-size: 22rpx;
        color: #999999;
        line-height: 34rpx;
        margin-top: 26rpx;

        .b {
            color: #333333;
        }
    }

    .item {
        display: flex;
        justify-content: space-between;
        padding: 30rpx;
        background-color: #fff;
        margin-top: 30rpx;
        align-items: center;

        .img {
            width: 88rpx;
            height: 88rpx;
            border-radius: 50%;
        }

        .title {
            flex: 1;
            padding: 0 40rpx;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            text-align: center;
        }
    }
}

.logonBoxs {
    width: 747rpx;
    padding: 20rpx 60rpx 0rpx;
}

.switch {
    width: 100%;
    position: fixed;
    bottom: 80rpx;
    left: 0;
    font-size: 28rpx;
    font-family:
        Source Han Sans CN-Regular,
        Source Han Sans CN;
    font-weight: 400;
    color: #333333;
    text-align: center;
}

button::after {
    border: none;
}

.user_vip_box {
    width: 90%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(81deg, #3f3f33 0%, #35322d 100%);
    z-index: 4;
    left: 5%;
    height: 70rpx;
    border-radius: 15rpx 15rpx 0 0;
    padding: 0 20rpx;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
        color: #e5caa4;
        font-size: 24rpx;
        line-height: 70rpx;
        display: flex;
        align-items: center;

        image {
            width: 32rpx;
            height: 32rpx;
            margin-right: 10rpx;
            vertical-align: middle;
        }
    }

    .btn {
        height: 70rpx;
        font-size: 24rpx;
        color: #fff;
        line-height: 70rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        vertical-align: middle;
    }
}

.icon-right {
    /* height: 0rpx; */
}

.boxCode {
    /* width: 600rpx; */
    min-height: 400rpx;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50rpx 0;
}

.van-uploader {
    /* width: 200rpx;
    height: 200rpx; */
    /* background-color: rgba(#999999, #999999, #999999, 0.7); */

    .van-uploader__wrapper {
        // background-color: rgba(#999999, #999999, #999999, 0.7);
    }
}

.upload {
    width: 320rpx;
    height: 320rpx;
    border: 4rpx solid #333333;
    border-radius: 16rpx;

    .image {
        width: 320rpx;
        height: 320rpx;
    }
}

.van-uploader__upload {
    // background-color: rgba(#999999, #999999, #999999, 0.7);
    border: 4rpx solid #333333;
    border-radius: 16rpx;
}

.btn_code {
    width: 452rpx;
    height: 80rpx;
    background: #333333;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    font-size: 32rpx;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70rpx;
}

.vip_99_icon {
    width: 710rpx;
    height: 160rpx;
    border-radius: 20rpx;
}